//
//  YWEquipment.m
//  maintain
//
//  Created by 郑想 on 15/10/26.
//  Copyright © 2015年 ewin. All rights reserved.
//

#import "YWEquipment.h"
#import "MJExtension.h"

@implementation qrcodeJson
@end

@implementation YWMeterProperty
+ (NSArray *)mj_ignoredPropertyNames{
    return @[@"equipmentId"];
}
@end

@implementation YWEquipmentInitialParameter
@end

@implementation YWEquipment
+ (NSArray *)mj_ignoredPropertyNames{
    return @[@"runTimeParameterArray",@"psText",@"totalImageNameArray"];
}

- (void)mj_keyValuesDidFinishConvertingToObject
{
    self.qrcodeId = self.qrcode.qrcodeId;
    self.locationText = self.qrcode.locationText;
    self.coordinate = self.qrcode.coordinate;
    self.meterProperty.equipmentId = self.equipmentId;
}

+ (NSDictionary *)mj_objectClassInArray{
    return @{ @"pictures" : @"YWPicture",
              @"properties" : @"YWEquipmentInitialParameter"};
}

@end

@implementation YWShortEquipment

@end

@implementation YWQrcodeEquipmentInfo

@end
